package com.kmzx.one.project.events;

import com.kmzx.one.project.entity.UserRank;

import java.math.BigDecimal;


public class SelfToUpEvent {

    private String selfUserId;

    private String selfRankId;

    private BigDecimal selfRankMoney;

    private int selfRankNo;

    private String upUserId;

    private String upRankId;

    private int upRankNo;

    private BigDecimal upRankMoney;


    private BigDecimal buyMoney;

    private String orderCodes;


    private UserRank userRank;

    public UserRank getUserRank() {
        return userRank;
    }

    public SelfToUpEvent setUserRank(UserRank userRank) {
        this.userRank = userRank;
        return this;
    }

    public String getOrderCodes() {
        return orderCodes;
    }

    public SelfToUpEvent setOrderCodes(String orderCodes) {
        this.orderCodes = orderCodes;
        return this;
    }

    public BigDecimal getBuyMoney() {
        return buyMoney;
    }

    public SelfToUpEvent setBuyMoney(BigDecimal buyMoney) {
        this.buyMoney = buyMoney;
        return this;
    }

    public SelfToUpEvent() {
    }

    public SelfToUpEvent(String selfUserId, String upUserId) {
        this.selfUserId = selfUserId;
        this.upUserId = upUserId;
    }

    public String getSelfUserId() {
        return selfUserId;
    }

    public SelfToUpEvent setSelfUserId(String selfUserId) {
        this.selfUserId = selfUserId;
        return this;
    }

    public String getSelfRankId() {
        return selfRankId;
    }

    public SelfToUpEvent setSelfRankId(String selfRankId) {
        this.selfRankId = selfRankId;
        return this;
    }

    public int getSelfRankNo() {
        return selfRankNo;
    }

    public SelfToUpEvent setSelfRankNo(int selfRankNo) {
        this.selfRankNo = selfRankNo;
        return this;
    }

    public String getUpUserId() {
        return upUserId;
    }

    public SelfToUpEvent setUpUserId(String upUserId) {
        this.upUserId = upUserId;
        return this;
    }

    public String getUpRankId() {
        return upRankId;
    }

    public SelfToUpEvent setUpRankId(String upRankId) {
        this.upRankId = upRankId;
        return this;
    }

    public int getUpRankNo() {
        return upRankNo;
    }

    public SelfToUpEvent setUpRankNo(int upRankNo) {
        this.upRankNo = upRankNo;
        return this;
    }

    public BigDecimal getSelfRankMoney() {
        return selfRankMoney;
    }

    public SelfToUpEvent setSelfRankMoney(BigDecimal selfRankMoney) {
        this.selfRankMoney = selfRankMoney;
        return this;
    }

    public BigDecimal getUpRankMoney() {
        return upRankMoney;
    }

    public SelfToUpEvent setUpRankMoney(BigDecimal upRankMoney) {
        this.upRankMoney = upRankMoney;
        return this;
    }
}
